package com.framework.auth.mapper;

import com.framework.common.model.CommonMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface SysMenuMapper {

    /**
     * 根据角色ID集获取菜单列表
     * @param params
     * @return
     */
    List<CommonMenu> findMenu(Map<String, Object> params);

    List<CommonMenu> findMenuAll(Map<String, Object> params);
}
